<template>
  <div>
    <martin-button @click="addNoti">增加通知框</martin-button>
  </div>
</template>

<script>
import MartinButton from '@/package/Button/src/Button'

export default {
  name: 'Notification',
  components: {
    MartinButton
  },
  data() {
    return {
      notifications: []
    }
  },
  methods: {
    addNoti() {
      this.$notify({
        message: '测试测试',
        duration: 0
      })
    }
  }
}
</script>
